package demo;

public class Message {
    private int what;
    private Object obj;

    public Message(int what, Object obj) {
        this.what = what;
        this.obj = obj;
    }

    public int getWhat() {
        return what;
    }

    public Object getObject() {
        return obj;
    }
}

